package org.argus.job.work.gateway;

import org.argus.job.work.gateway.config.WorkerLoadBalancingConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClients;

@SpringBootApplication
@EnableDiscoveryClient
@LoadBalancerClients(defaultConfiguration = WorkerLoadBalancingConfiguration.class)
public class JobWorkerGatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(JobWorkerGatewayApplication.class, args);
    }
}